package com.sgb.kjwl.model.entity.pick;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;

public class PickSearchTender<T> {
    @SerializedName("totalRow")
    private int totalRow;
    @SerializedName("pageNumber")
    private int pageNumber;
    @SerializedName("lastPage")
    private boolean lastPage;
    @SerializedName("firstPage")
    private boolean firstPage;
    @SerializedName("totalPage")
    private int totalPage;
    @SerializedName("pageSize")
    private int pageSize;
    @SerializedName(value = "list", alternate = {"records"})
    private T list;

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public T getList() {
        return list;
    }

    public void setList(T list) {
        this.list = list;
    }
}
